Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST API TEAL bytes fix #881

Merged
merged 3 commits into from
Aug 8, 2024
Merged

REST API TEAL bytes fix #881

merged 3 commits into from
Aug 8, 2024

Conversation

jasonpaulos
Copy link
Contributor

@jasonpaulos jasonpaulos commented Aug 7, 2024

Algod types TEAL byte keys and byte values as strings and base64 encodes them in responses. There was some discussion in algorand/go-algorand#5492 about changing the types on algod, but we decided against it.

This PR updates the types client side so that users don't need to manually decode base64 strings.

A few byte conversion operations were cleaned up as well in the example files.

Relies on algorand/generator#79 to update the generated REST models.

@jasonpaulos jasonpaulos merged commit c3a56c3 into 3.0.0 Aug 8, 2024
2 checks passed
@jasonpaulos jasonpaulos deleted the rest-teal-bytes-fix branch August 8, 2024 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants